package demo4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 */
public class C {
    private int a = 10;
    static int b = 20;
    public void fun1() {
        int c = 30;
       class B {
            public void func() {
                System.out.println(a);
                System.out.println(b);
                System.out.println(c);

            }
        }
        B b = new B();
        b.func();

    }
}
